#include "csgsphere.h"

CSGSphere::CSGSphere(double dRadius){
    m_dRadius = dRadius;
}

double CSGSphere::evaluateEquation(XYZ p){
    return p.x * p.x + p.y * p.y + p.z * p.z - m_dRadius * m_dRadius;
}
